package com.xuyixuan.database_midware_study;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.annotation.PostConstruct;

@SpringBootApplication
public class DatabaseMidwareStudyApplication {

    /**
     * 启动类
     */
    public static void main(String[] args) {
        SpringApplication.run(DatabaseMidwareStudyApplication.class, args);
    }

    @PostConstruct
    public void init() {
        // 初始化逻辑
        System.out.println("Application started successfully!");
    }
}